package com.example.mybatisplus.mapper;

import com.example.mybatisplus.model.domain.Hotel;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author yfy
 * @since 2021-12-30
 */
@Repository
public interface HotelMapper extends BaseMapper<Hotel> {

    List<Hotel> selectByName(String name);
}
